package org.iteasy.framework.commons;

import com.iteasy.dto.UserInfo;

import java.io.Serializable;

/**
 * Created by bo.chen on 2020/04/27 11:14:15
 */
public class UserSession implements Serializable {

    public static UserInfo get() {
        return Local.USER_SESSION.get();
    }

    public void set(UserInfo userDto) {
        Local.USER_SESSION.set(userDto);
    }

}
